package com.group11.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.group11.user.entity.Enterprise;
import com.group11.user.vo.EnterpriseVo;

import java.util.List;

public interface EnterpriseService extends IService<Enterprise> {

    EnterpriseVo getByUserId(int id);

    List<EnterpriseVo> getAllEnterprise();

    EnterpriseVo getById(int id);

    boolean addEnterprise(Enterprise enterprise, int userId);
}
